International Validation
Error Handling
Invalid destination_country_code Input
Error occurs when an invalid destination country code is provided. Please ensure a valid 2-letter ISO country code is used.
Empty destination_country_code Input
If the destination_country_code is missing or does not meet the required minimum length (2 characters), the API will return a validation error with success: false and an error object indicating the invalid field and the expected requirements.
Validation Errors for Empty or Stop Word Descriptions
If a description is empty or contains a stop word (e.g., "shoes"), the API will return validation errors indicating that a more specific description is required.
Stop word validation is not required for the destination_country_code.
When the destination_country_code does not require stop word validation, the API will return a response indicating that no validation rules are applied. In this case, country_has_validation is false, and all provided descriptions are treated as valid regardless of their content.